package cn.wolfcode.car.business.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ServiceItem {

    public static final Integer CARPACKAGE_NO = 0; //不是套餐
    public static final Integer CARPACKAGE_YES = 1; //是套餐
    public static final Integer AUDITSTATUS_INIT = 0; //审核初始化
    public static final Integer AUDITSTATUS_AUDITING = 1; //审核中
    public static final Integer AUDITSTATUS_APPROVED = 2; //审核通过
    public static final Integer AUDITSTATUS_REJECT = 3; //审核拒绝 （没有使用，当审核拒绝时，直接切换到初始化状态）
    public static final Integer AUDITSTATUS_NO_REQUIRE = 4; //无需审核
    public static final Integer SALESTATUS_OFF = 0; //下架
    public static final Integer SALESTATUS_ON = 1; //上架
    public static final Integer SERVICE_CATALOY_REPAIR = 0; //维修
    public static final Integer SERVICE_CATALOY_MAINTAINCE = 1; //保养
    public static final Integer SERVICE_CATALOY_OTHER = 2; //其他

    private Long id;

    private String name;

    private BigDecimal originalPrice;

    private BigDecimal discountPrice;

    private Integer carPackage;

    private String info;

    private Date createTime;

    private Integer serviceCatalog;

    private Integer auditStatus;

    private Integer saleStatus = SALESTATUS_OFF;

    private Long version = 1l;

}